package com.cmcc.pcap.voltePcapParse.pcap;

public class PcapMsgStruct {
	
	private ProtocolData protocolData;
	private PcapDataHeader pcapDataHeader;
	private EthernetHeader ethernetHeader;
	private IPHeader ipHeader;
	private TCPHeader tcpHeader;
	private UDPHeader udpHeader;
	private String loadContent;//负载信息
	private LoadData loadData;
	public LoadData getLoadData() {
		return loadData;
	}
	public void setLoadData(LoadData loadData) {
		this.loadData = loadData;
	}
	public ProtocolData getProtocolData() {
		return protocolData;
	}
	public void setProtocolData(ProtocolData protocolData) {
		this.protocolData = protocolData;
	}
	public PcapDataHeader getPcapDataHeader() {
		return pcapDataHeader;
	}
	public void setPcapDataHeader(PcapDataHeader pcapDataHeader) {
		this.pcapDataHeader = pcapDataHeader;
	}
	public EthernetHeader getEthernetHeader() {
		return ethernetHeader;
	}
	public void setEthernetHeader(EthernetHeader ethernetHeader) {
		this.ethernetHeader = ethernetHeader;
	}
	public IPHeader getIpHeader() {
		return ipHeader;
	}
	public void setIpHeader(IPHeader ipHeader) {
		this.ipHeader = ipHeader;
	}
	public TCPHeader getTcpHeader() {
		return tcpHeader;
	}
	public void setTcpHeader(TCPHeader tcpHeader) {
		this.tcpHeader = tcpHeader;
	}
	public UDPHeader getUdpHeader() {
		return udpHeader;
	}
	public void setUdpHeader(UDPHeader udpHeader) {
		this.udpHeader = udpHeader;
	}
	public String getLoadContent() {
		return loadContent;
	}
	public void setLoadContent(String loadContent) {
		this.loadContent = loadContent;
	}
	@Override
	public String toString() {
		return "PcapMsgStruct [protocolData=" + protocolData + ", pcapDataFrame=" + ethernetHeader + ", ipHeader="
				+ ipHeader + ", tcpHeader=" + tcpHeader + ", udpHeader=" + udpHeader + ", loadContent=" + loadContent
				+ ", loadHex=" + loadData + "]";
	}
	
}
